package com.jindianjichi.subject.application.convert;

import com.jindianjichi.subject.application.entity.SubjectAnswerDTO;
import com.jindianjichi.subject.domain.entity.SubjectAnswerBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDtoConverter {
   SubjectAnswerDtoConverter instance= Mappers.getMapper(SubjectAnswerDtoConverter.class);
   SubjectAnswerBo convertToBoAnswer(SubjectAnswerDTO SubjectAnswerDto);
   List<SubjectAnswerBo> convertToBoList(List<SubjectAnswerDTO> list);
}
